package cn.shop.cloud.service.impl;

import cn.shop.cloud.domain.Good;
import cn.shop.cloud.mapper.GoodMapper;
import cn.shop.cloud.service.IGoodService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: shop-parent
 * @ClassName GoodServiceImpl
 * @description:
 * @author: Mokio
 * @create: 2024−12-24 20:46
 * @Version 2024 2.2 ; jdk1.8.0_181
 **/
@Service
public class GoodServiceImpl implements IGoodService {


    @Autowired
    private GoodMapper goodMapper;

    @Override
    public List<Good> queryByIds(List<Long> ids) {
        return goodMapper.queryByIds(ids);
    }
}
